package isssr.entity.src;
import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name="userContext")
@SessionScoped
public class UserContext implements Serializable {


	private static final long 		serialVersionUID = 5616825209116236745L;
	private User 					user;
	private OrganizationalGoal 		current_goal;
	private OrganizationalGoalDTO 	goal_data;
	private Perspective				view;
	
	
	public UserContext()
	{
		this.goal_data 		= null;
		this.current_goal	= null;
		this.user			= null;
		this.view 			= Perspective.OWNER_VIEW;
	}


	public OrganizationalGoal getCurrent_goal() {
		return current_goal;
	}


	public void setCurrent_goal(OrganizationalGoal current_goal) {
		this.current_goal = current_goal;
	}


	public User getUser() {
		return user;
	}


	public void setUser(User user) {
		this.user = user;
	}


	public Perspective getView() {
		return view;
	}


	public void setView(Perspective view) {
		this.view = view;
	}


	public OrganizationalGoalDTO getGoal_data() {
		return goal_data;
	}


	public void setGoal_data(OrganizationalGoalDTO goal_data) {
		this.goal_data = goal_data;
	}
	
	
	
	
}
